using System.Collections.Generic;

namespace FytSoa.Application.Operator
{
    /// <summary>
    /// 操作人信息
    /// </summary>
    public class OperatorUser
    {
        /// <summary>
        /// 登录人ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 租户ID
        /// </summary>
        public long TenantId { get; set; } = 0;

        /// <summary>
        /// 登录人信息
        /// </summary>
        public string Avatar { get; set; }
        
        /// <summary>
        /// 登录人信息
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// 权限
        /// </summary>
        public List<string> Ability { get; set; } = new() { "READ", "WRITE", "DELETE" };
        
        /// <summary>
        /// 权限
        /// </summary>
        public List<string> Roles { get; set; } = new() { "admin" };
    }
}